package com.aps.server.parse.model.dto;

import com.aps.server.parse.ann.ExcelColumn;
import com.aps.server.parse.ann.ExcelParser;
import com.aps.server.parse.model.ExcelParseValidate;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Author nbZhuozh
 * @Date 2025-09-15  10:17
 **/
@ExcelParser
@Component("model-excel-basic-operation")
public class BasicOperationExcelImportDto implements ExcelParseValidate<BasicOperationExcelImportDto> {

    /**
     * 主键ID
     */
    @ExcelColumn(value = "工序编码" , defaultSampleValue = "GX-1234-FL-01")
    private Integer id;

    /**
     * 所属工艺编码
     */
    @ExcelColumn(value = "工序编码" , defaultSampleValue = "GY-1234-FL-01")
    private String craftId;

    /**
     * 工序名称
     */
    @ExcelColumn(value = "工序名称" , defaultSampleValue = "外圆车削")
    private String operationName;

    /**
     * 工序类型
     */
    @ExcelColumn(value = "工序类型" , defaultSampleValue = "加工")
    private String operationType;

    /**
     * 标准工时/分钟
     */
    @ExcelColumn(value = "标准工时（分钟）" , defaultSampleValue = "15.5")
    private String standardTime;

    /**
     * 换型/准备时间
     */
    @ExcelColumn(value = "换型/准备时间（分钟）" , defaultSampleValue = "5")
    private String setupTime;

    /**
     * 要求设备类型
     */
    @ExcelColumn(value = "需要设备类型" , defaultSampleValue = "机床加工设备")
    private String equipmentTypeRequire;

    /**
     * 工序顺序
     */
    @ExcelColumn(value = "工序顺序" , defaultSampleValue = "1")
    private Integer sequence;


}
